const net = require("net")

const server = net.createServer(socket => {
    socket.write("小满");
    socket.on("data", (data) => {
        console.log(data.toString());
    })
})
server.listen(5555, () => {
    console.log("server is listening on port 5555");
})